package com.yz.design.strategyDesign;

/**
 * @author 广长
 * @version V1.0
 * @className DealPaymentRequestServiceImpl
 * @description 成交发佣申请相关操作业务服务1
 * @date 2020/12/23
 **/

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;


@Slf4j
@Service(value = "dealPaymentRequestServiceImpl")
@Transactional(rollbackFor = Exception.class)
public class DealPaymentRequestServiceImpl implements IPaymentRequestService {


    @Override
    public synchronized Integer request(StrategyCenter strategyCenter) throws Exception {
        System.out.println("成交发佣");
        return 1;
    }

}